package io.gitee.loulan_yxq.owner.core.test.domain;

import io.gitee.loulan_yxq.owner.core.interfaces.TreeNode;
import lombok.Data;

import java.util.List;

@Data
public class Addr implements TreeNode<Addr> {
    private String id;

    private String pid;

    private String name;

    private List<Addr> children;


    public Addr(String id, String pid, String name, List<Addr> children) {
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.children = children;
    }
}
